problem#1 Create a program that will count from 1 to n, wherein n is a user-input number.
problem#2 Create a menu and combine previously-created programs into one
im a newbie programmer i need help in using looping constructs... any suggestions???


for (int i = 0; i < terminatorvalue; i++) { do some stuff }
while (somevalue < terminatorvalue) { do some stuff }
do { some stuff } while (somevalue < terminatorvalue);

These are examples of C/C++ looping constructs. Alter to your needs. Then post your code for your class problems. Until you make a reasonable attempt to solve them, this is as much help as you will get here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.