Question: Having a problem with writing both codes 1. Use a function write a C++ program to convert a force from Newton to pound force. 1)
1. Use a function write a C++ program to convert a force from Newton to pound force. 1) Write a function to convert a force from Newton (N) to pound force (Ibf) 1N 0.2248 lbf 2) Write a program to ask users input a force in Newton from the keyboard. Call the function to convert it to pound force. Display the results on the screen. 2. Use a function write a C+t program to compute the inflation 1) Write a function to compute annual inflation by using current price P and annual inflation rate r as parameters Pnext_yearP(1r) 2) Write a program to ask users input current price P, annual inflation rate r, and how many years n from the keyboard. Call the function to get the price after n years. Display the results on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
