This code drew us a line of n stars!!
{"Image DocumentName": "This code drew us a line of n stars!!", "Image ImageDescription": "Example: Write a program that reads an integer n from the user and displays n stars in a line: #include <iostream> using namespace std; int main() { int n; cout << Enter the number of stars: ; cin >> n; for (int i = 1; i <= n; i++) { cout <<   ; } cout << endl; return 0; for (int i = 1; i <= n; i++) { cout <<   ; } This code drew us a line of n stars!!", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}