12th Aug 2022, 9:25 AM
emma
emma - avatar
3 odpowiedzi
0
Forexample i want to output like this 20=divisible by five 19 18 17 16 15=divisible by five 14 13 12 11 .....up to 1
12th Aug 2022, 11:04 AM
emma
emma - avatar
0
What is your task there ? Can you add clear details!!!??
12th Aug 2022, 9:37 AM
Jayakrishna 🇮🇳
0
while(n>=1) { cout<<n; if(n % 5 == 0) { cout<<"=divisible by five"; } cout<<endl; n--; }
12th Aug 2022, 11:32 AM
Jayakrishna 🇮🇳