devc++ asap
ACTIVITY 5.1: Product of two numbers using while loop
Calculate the product of two numbers
without using the multiplication (*) operator. Consider the sample output. Enter 1st number: 2
Enter 2nd number: 2
Product: 4
gram code
Samp
ACTIVITY 5.2: Even and Odd numbers
using do-while loop
Using do-while loop, write a program that will ask the user to input an integer number. Display all even and odd numbers from 1 to the user's input. Consider the sample output. Output: Enter an integer number: 10 Odd numbers from 1 - 10: 1 3 5 7 9
Even Numbers from 1 - 10: 2 4 6 8
10