Write a program that: 1. Reads in a number: numStar 2. Prints a column of (*) that is numStar long, using a for loop. Your program should work for numbers between 1 and 20. For example, if the input...


In C, use the starter code please


Write a program that:<br>1. Reads in a number: numStar<br>2. Prints a column of (*) that is numStar long, using a for loop.<br>Your program should work for numbers between 1 and 20.<br>For example, if the input is 4, your program should print:<br>*<br>code.c 8<br>+ New<br>O Full Screen *<br>1 #include <stdio.h><br>3 - int main() {<br>4<br>// Declarations<br>5<br>// Prompt<br>printf(

Extracted text: Write a program that: 1. Reads in a number: numStar 2. Prints a column of (*) that is numStar long, using a for loop. Your program should work for numbers between 1 and 20. For example, if the input is 4, your program should print: * code.c 8 + New O Full Screen * 1 #include 3 - int main() { 4 // Declarations 5 // Prompt printf("Please enter a number between 1 and 20: "); 7 8. 9 // Read-in value (scanf) 10 // Start printing with a newline printf("\n"); 11 12 13 14 // your for loop goes here 15 16 return 0; 17 }

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here