programming
posted by Ayuda!!! .
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 number read.

You might like to have some of the following programming tutorials:
http://search.yahoo.com/search?fr=mcafee&p=programming+tutorials
Sra 
Or one of these tutorials on C++:
http://www.cprogramming.com/tutorial/lesson1.html
http://www.cprogramming.com/tutorial/lesson3.html
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++
Can anyone help me with my c++ program? Its a program I have to write using structs and arrays and i'm stuck. If anyone can help can you post back and I'll show you what i've got and maybe you can tell me why its not working correctly. 
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++ 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 … 
C++
I have no idea how to construct this program. Any help is appreciated. Thank you. In a population, the birth rate is the percentage increase of the population due to births and the death rate is the percentage decrease of the population … 
programming
Write a code segment that inputs an integer from cin, and then outputs a row of that many stars on cout. 
Computer Literary
Which of the following is Not an example of debugging A)Looking for errors in programming code B)Fixing misspelled commands in programming code C)Solving faulty logic in programming code D)Upgrading to improve the programming code 
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 …