Write a single program to fulfill the following objectives:
1) Get the user's name and which place he/she belongs to (use scanf) (2 points)
2) Print users name (1 point)
3) Print where does the user belongs to (1 point)
4) Obtain temperature (t) in degree Celsius and velocity (v) in m/s from the user (2 points)
5) Calculate wind chill factor (wcf) using the following equation. (4 points)
where t is the temperature in degree Celsius and v is velocity in m/s
6) Comments should be given throughout the program. (5 points)
7) What errors did encounter while writing the code and how did you debug it? (5 points)
using c programming
We need at least 10 more requests to produce the answer.
0 / 10 have requested this problem solution
The more requests, the faster the answer.
Write one program to fulfill the following objectives: 1) Get the user's name and which place he/she comes from (use scanf) (2 points) 2) Print users name (1 point) 3) Print where does the user come from (place you belong to) (1 point) 4) Calculate velocity and acceleration. Distance and time will be given by user (use scanf). The values of distance and time are given in meters and seconds respectively. (4 points) 5) Comments should be given throughout the...
Please help in c++, follow the instructions, please. try to use pass by reference and pass by value if you could Description: Write a program that will input wind speed and temperature and output the wind-chill factor. W = 35.74 + 0.6215 ∗ T − 35.75 ∗ V 0.16 + 0.4275 ∗ T ∗ V 0.16 Your program should use at least 2 functions in addition to main. One that uses pass by reference parameters and prompts the user for...
Part A
Write a function windChillCalculator to determine the wind
chill. Your main function should take in user inputs for T (air
temperature) and V (wind speed) and pass these values as parameters
to your function. After your function calculates the wind chill it
should return it to main. To test your code, for T = 30.0 and V =
5.0, you should get a Wind Chill of 24.7268. Within your main
function, print the following cout statement: cout <<...
In C++ Code and Algorithm Please
Thanks:)
During winter when it is very cold, typically, everyone would
like to know the windchill factor, especially, before going out.
Meteorologists use the following formula to compute the windchill
factor, W:
Your program must contain at least two functions: one to get
the user input and the other to determine the windchill
factor.
The main function is not considered to be one of two functions.
That function is always included. Also, the functions...
Need to use Python string formatting to align wind-chill
values in equal-sized columns
Using your knowledge of loops and other Python features covered so far, write a program that prints a table of windchill values, where: Rows represent wind speed for O to 50 in 5 mph increments Columns represent temperatures from -20 to +60 in 10-degree increments Your program should include a function that returns windchill for a given combination of wind speed & temperature, using this formula from...
Write a program in C++ that gives the temperature of earth at a depth. It must be in C++ and follow the information below: Problem description Write a program to take a depth in kilometers inside the earth as input data; calculate and display the temperature at this depth in both degrees Celsius and degree Fahrenheit. The formulas are: Celsius temperature at depth in km: celsius = 10 x depth(km) + 20 Convert celsius to fahrenheit: fahrenheit = 1.8 x...
Write a C++ program that shows the following menu options and lets the user to convert from Metric to Imperial system: Converter Toolkit -------------------- 1. Temperature Converter 2. Distance Converter 3. Weight Converter 4. Quit If the user enters 1, the program should ask for the temperature in Celsius and convert it to Fahrenheit If the user enters 2, the program should ask for the distance in Kilometer and convert it to Mile If the user...
using C language
Create an array of doubles with 5 elements. In the array prompt the user to enter 5 temperature values (in degree Fahrenheit). Do this within main. Create a user defined function called convert2Cels. This function will not return any values to main with a return statement. It should have parameters that include the temperature array and the number of elements. The function should convert the values for Fahrenheit to Celsius and save them back into the same...
C++ optional exercise. You are going to convert temperatures in this program. You will give the user the choice of converting Fahrenheit to Celsius or Celsius to Fahrenheit. With the correct answer you will also display the number entered. The user should have the option to convert as many temperatures as they want. Use functions and a menu (also a function) and, assume they will convert at least one temperature. When finished upload and submit the zipped project. the formulas...
package _solution;
/**
This program demonstrates how numeric types and operators behave in Java
Do Task #1 before adding Task#2 where indicated.
*/
public class NumericTypesOriginal {
public static void main (String [] args) {
//TASK #2 Create a Scanner object here
//identifier declarations
final int NUMBER = 2 ; // number of scores
int score1 = 100; // first test score
int score2 = 95; // second test score
final int BOILING_IN_F = 212; // boiling temperature
double fToC;...