Menu

[Solved]Correct Following Code Include Int Main Void Default 0 Int Counter 0 Counter 999 Char X St Q37216522

Correct the following code.

#include <iostream.h>

int main(){

void default = 0;

int counter = 0;

while(counter != -999)

{

char x = ”;

std::cout<<“Please enter character “<<std:endl;

std::cin>>x;

if(int(upper(x)) < 59){

counter++;

}

counter = counter | x;

if(counter > 89 | counter < 98)

return 98;

}

}

}

Expert Answer


Answer to Correct the following code. #include int main(){ void default = 0; int counter = 0; while(counter != -999) { char x = ”… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *