0
How to add Full stop after number in the given cpp program
this should b the output of program 1,2,3,4,5,6,7,8. here you see that after numbers there is coma(,) but except 8 there should be full stop ( . ) ... use while loop in cpp please help 🙁🙁 tomorrow is my assignment i need to do it in anycase plz help # the program is this on 👇 #include<iostream> #include <conio.h> using namespace std; int main () { int i =1; while(i <=8) {cout<<i <<","; i++;} getch(); } the output is 1,2,3,4,5,6,7,8, but i want that after 8 this" , " becomes fullstop " . "
5 Respuestas
+ 2
but the output is still this one
1,2,3,4,5,6,7,8,.
+ 1
still got the same Output 😭😭😭
0
and i want output like this
1,2,3,4,5,6,7,8.
0
thanks Alooot Broo its worked😍😘😘😍
0
lovee u soooo much 😍😊😍😊😍😊