Answer to Question #290815 in C++ for Levi

Question #290815

Write a do-while loop that continues to prompt a user to enter a number less than 100, until the entered number is actually less than 100


1
Expert's answer
2022-01-26T17:49:19-0500
#include<conio.h>
#include<stdio.h>
#include<stdlib.h>
#include <iostream>
using namespace std;


int main()
{
	int n;
	
	do
	{
		cout<<"\nEnter Number: "; cin>>n;
	}while(n<100);
	return(0);
}

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!

Comments

No comments. Be the first!

Leave a comment