76 309
Assignments Done
Successfully Done
In May 2019

Answer to Question #29391 in C++ for abdul rehman

Question #29391
programme that terminate at negative value by given input values using while loop
Expert's answer
#include <iostream.h>

void main() {
int i=1,input;
cout << "Enter a number
cin >> input;
while(input >= 0)
cout << "Enter anothernumber
cin >> input;
cout << "
You have entered "<< i << " numbers";

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions