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.
Chapter9: Completing The Basics
Section9.3: The String Class
Problem 7E
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