I want to make cpp program in which we enter negetive number they tell to enter positive number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

I want to make cpp program in which we enter negetive number they tell to enter positive number

16th May 2020, 11:46 AM
Shahzada Hassan Mujtaba
Shahzada Hassan Mujtaba - avatar
3 Answers
+ 4
Shahzada Hassan Mujtaba It's very basic.
16th May 2020, 12:05 PM
A͢J
A͢J - avatar
+ 4
I can assist you but you need to show first your code.
16th May 2020, 12:01 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
+ 2
int n; repeat : cin>>n; If(n<0) goto repeat;
16th May 2020, 1:20 PM
Vijay Raj Jain