Computer Science, asked by abidabbaskhan028, 8 months ago

program to print candidate with maximum numbers of Votes. if they have equal number of votes, print"coalition goverenment".

Answers

Answered by isro48
0

Explanation:

You didn't wrote it but I'm assuming that there are two candidates.

#include<iostream>

#include<cmath>

#include<cstdlib>

using namespace std;

int main(){

int A,B;

/*take two inputs of both candidate's votes*/

cin >> A >> B;

if(A==B){

cout << "Coalition Government" << endl;

}

return 0;

}

Hope it helps!!!

And if you didn't got it then ask me anytime... :)

Similar questions