WRITE A PROGRAM THAT ASK THE USER TO ENTER A NUMBER n and display the first n odd numberss.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.5: A Closer Look: Loop Programming Techniques
Problem 2E: (cin within a loop) Write and run a C++ program that accepts 10 values of gallons, one at a time,...
icon
Related questions
Question
100%

please help me make a program using C Programming only about this problem plsss...

WRITE A PROGRAM THAT ASK THE USER TO ENTER A NUMBER n and display the first n odd numberss. Example: If n=5, the first 5 odd numbers are 1, 3, 5, 7 and 9.


USING FOR "LOOP" ONLY

PLEASE COPY PASTE YOUR CODE.

NOTE: C PROGRAMMING ONLY AND FOR LOOP TOPIC ONLY

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr