i need some help.. this is for our C++ project.. :( can somebody help me? i'm just a beginner in C++.. (THANK YOU!)
1) LARGE NUMBER
For the purposes of this problem we will define a large number as a positive whole number with at least eight digits. For example, 123456789 is a large number. Large numbers must NOT be expressed in exponential form.
Write a program that:
(1) asks for two inputs.
WHAT IS THE FIRST LARGE NUMBER?
WHAT IS THE SECOND LARGE NUMBER?
(2) then calculates the product of your two large numbers and prints;
THE PRODUCT OF your first large number
AND your second large number
IS the calculated product.
Test your program with 1234512345123451234512345 as your first large number and 9876598765987659876598765 as your second large number.
2) Shampoo Problem
Susan has just bought a new 100 ml bottle of shampoo. Each time she shampoos, she uses 5 ml of liquid. After removing the 5 ml, she replaces it with 5 ml of water and then shakes the bottle. Thus the shampoo gets weaker and weaker after each use. She repeats this procedure until the first occasion the shampoo is half or (less than half) the original concentration. She uses it at this strength until it is gone.
Write a program which
(1) Determines how many shampoos Susan gets before she stops watering it down.
(2) Prints the concentration after each use until the bottle is empty.