programming
posted by Ayuda!!! .
Write a code segment that inputs an integer from cin, and then outputs a row of that many stars on cout.

Please refer to y our later post, which I saw first.
Sra
Respond to this Question
Similar Questions

computer science
Algorithm for Binomial Numbers Task Binomial numbers (or binomial coefficients) are important positive integers that arise frequently in computing and mathematics. A function to compute binomial coefficients will have two inputs: n … 
C++
#include <iostream.h> #include <stdlib.h> int main ( ) { int choice; cout << "Computer Repair" << endl; cout << "\n Does your ailing computer beeps multiable times at startup? 
C++ Programming
I NEED HELP WITH MY CODE!!! it won't compile right The formula for finding the force of gravity between two objects is Force = grav * (mass1 * mass2) / (radius * radius), where Force = the force of gravity between the two objects, … 
C++ Programming
What is the output of the following C++ code? 
C++ Programming
I have to redo programming exercise 5 of chapter 9 using dynamic arrays. but I have the information but I don't know how to use it in a dynamic arrays please help. //Chapter 9: Programming Exercise 5 #include <iostream> #include … 
C++ Algorithms
Binomial numbers (or binomial coefficients) are important positive integers that arise frequently in computing and mathematics. A function to compute binomial coefficients will have two inputs: n and k. The corresponding coefficient … 
programming
Part A: Write a code segment that inputs an integer from cin, and then outputs a row of that many stars on cout. Part B: Change the code segment to read a series of numbers from file indata, and print a row of stars on cout for each … 
C++
I am trying to create a program that displays shipping charges for two region codes. The region code has to have exactly 3 characters (the letter A or B followed by two numbers). Display a message if invalid region code is entered. … 
Math
An automobile dealership uses CODE = 1 for new automobiles, CODE = 2 for used automobiles, and CODE = 3 for separate accessories. A salesmanâ€™s commissions are as follows: on new automobile, 3% of the selling price but a maximum of … 
Math
An automobile dealership uses CODE = 1 for new automobiles, CODE = 2 for used automobiles, and CODE = 3 for separate accessories. A salesmanâ€™s commissions are as follows: on new automobile, 3% of the selling price but a maximum of …