- Joined
- Dec 23, 2018
- Posts
- 3,653
- Solutions
- 1
- Reaction
- 17,773
- Points
- 2,806
Mga paps pede pa help
Nahihirapan kasi ako sa program nato
Using function
Ganto kasi
Bali may choices ka like voting given na ang mga tatakbo
Example sina
1:Marcos
2:Juan
3: Pedro
Then may mag ask sayo nang select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit
Pag nag type ka bali pag di mo pa tinype yung -1 di pa ah sstop kaka ask yung program pero pag nag -1 kana lalabas na ang output
Sample
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit :2
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:1
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:1
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:1
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:2
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:-1
Marcos 3
Juan 2
Pedro 0
Baka matulongan nyu po ako
C++ gamit po namin
Nahihirapan kasi ako sa program nato
Using function
Ganto kasi
Bali may choices ka like voting given na ang mga tatakbo
Example sina
1:Marcos
2:Juan
3: Pedro
Then may mag ask sayo nang select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit
Pag nag type ka bali pag di mo pa tinype yung -1 di pa ah sstop kaka ask yung program pero pag nag -1 kana lalabas na ang output
Sample
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit :2
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:1
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:1
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:1
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:2
select from the choices [1] for marcos so [2]juan [3]pedro [-1] to exit:-1
Marcos 3
Juan 2
Pedro 0
Baka matulongan nyu po ako
C++ gamit po namin