programming

posted by .

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

  • programming -

    Please refer to y our later post, which I saw first.

    Sra

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. 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 …
  2. 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?
  3. 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, …
  4. C++ Programming

    What is the output of the following C++ code?
  5. 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 …
  6. 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 …
  7. 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 …
  8. 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. …
  9. 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 …
  10. 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 …

More Similar Questions