Starting With C++: From Control Structures to Objects Programming Challenge 6-9: Present Value (C++ functions) Suppose you want to deposit a certain amount of money into a savings account and then leave it alone to [More]
C++ String Comparison Write a program that asks the user to enter two names and store them in string objects.. It should then report whether they are the same or not, ignoring case, To help [More]
C++ Arrays Manipulation Write a program that asks the user to enter an integer N then compute f(n) Where f(n) : F(0)=3 F(n+1)=3/4*f(n)+4 Output: Enter the Nth term: 5 f(0) = 3.00 f(1) = 6.25 [More]
Starting With C++: From Control Structures to Objects Programming Challenge 6-8: Simulating Coin Toss Using C++ Functions and Loops Write a function named coinToss that simulates the tossing of a coin. When you call the [More]
Starting With C++: From Control Structures to Objects Programming Challenge 6-7: Temperature Conversion Using C++ Functions Write a function named celsius that accepts a Fahrenheit temperature as an argument. The function should return the temperature, [More]
Starting With C++: From Control Structures to Objects Programming Challenge 6-6: Calculating Kinetic Energy With Functions Write a function named kineticEnergy that accepts an object’s mass (in kg) and velocity (in m/s) as arguments. The [More]
Starting With C++: From Control Structures to Objects Programming Challenge 6-5: Calculating Falling Distance Write a function named fallingDistance that accepts an object’s falling time (in seconds) as an argument. The function should return the [More]
Starting With C++: From Control Structures to Objects Programming Challenge 6-4: Calculate Values Using Functions and Switch Statements Write a program that determines which of five geographic regions withing a major city (north, south, east, [More]
Starting With C++: From Control Structures to Objects Programming Challenge 6-3: Calculate Profits Using Functions and Switch Statements Write a program that determines which of a company’s four division (NE, SE, NW, SW) had the [More]
Starting With C++: From Control Structures to Objects Programming Challenge 6-1: Calculate Markup Cost With Functions Write a program that asks the user to enter an item’s wholesale cost and its markup percentage. It should [More]
Starting With C++: From Control Structures to Objects Programming Challenge 5-23: Displaying Triangle Pattern With Nested Loops Write a program that uses a loop to display patterns below: + ++ +++ ++++ +++++ ++++++ +++++++ [More]
Starting With C++: From Control Structures to Objects Homework 5-3: Ocean Levels Assuming the ocean’s level is currently rising at about 1.5mm per year, write a program that displays a table showing the number of [More]