WRITE A PROGRAM THAT ASK THE USER TO ENTER A NUMBER n and display the first n odd numberss.
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
Related questions
Question
100%
please help me make a program using C
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
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr