NEED CODE IN CORAL
A "jiffy" is the scientific name for 1/100th of a second. Given an input number of seconds, output the number of "jiffies." Ex: If the input is 15, the output is: 1500 Your program should define and call a function: Function SecondsToJiffies(float userSeconds) returns float userJiffies
`Hey,
Note: In case of any queries, just comment in box I would be very happy to assist all your queries
If you have any doubts, please give me comment...
Function SecondsToJiffies(float userSeconds) returns float
userJiffies
userJiffies = userSeconds*100
Function Main() returns nothing
float userSeconds
float resultJiffies
userSeconds = Get next input
resultJiffies = SecondsToJiffies(userSeconds)
Put resultJiffies to output
Kindly revert for any queries
Thanks.
NEED CODE IN CORAL A "jiffy" is the scientific name for 1/100th of a second. Given...
3.13 LAB: A jiffyA “jiffy” is the scientific name for 1/100th of a second. Given an input number of seconds, output the number of "jiffies."Output each floating-point value with two digits after the decimal point, which can be achieved as follows:System.out.printf("%.2f", yourValue);Ex: If the input is:15the output is:1500.00Your program must define and call a method:public static double secondsToJiffies(double userSeconds)
NEED IN CORAL LANGUAGE ONLY When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by subtracting the smallest value from all the values. The input consists of five integers. Ex: If the input is 30 50 10 70 65, the output is: 20 40 0...
*Coral Language* Write a program that first gets a list of six integers from input. The first five values are the integer list. The last value is the upper threshold. Then output all integers less than or equal to the threshold value. Ex: If the input is 50 60 140 200 75 100, the output is: 50 60 75 For coding simplicity, follow every output value by a space, including the last one. Such functionality is common on sites like...
Please upload screenshots of the code. Thank you!
P1 - Circle Area and Circumference functions.cpp, functions.h, P1.cpp The user enters 3 floating-pointer numbers which correspond to 3 radi. Store these numbers in an array. Then, define and prototype a function void area and cireffloat* area, float circumference, float array) which takes as input the array of circumferences of circles with the input radii. Think about why we need to pass pointers for both the area and the circumference variables. radii...
use coral language please
question 1
Function ConvertFeetToInches(integer feetToConvert) returns
integer resultInches
resultInches = feetToConvert * 12
Function Main() returns nothing
integer resultInches
integer feetToConvert
feetToConvert = Get next input
// Your solution goes here
Put feetToConvert to output
Put " feet are " to output
Put resultInches to output
Put " inches." to output
question 2
Function GetRecArea(float recHeight, float recWidth) returns
float recArea
// Calculate recArea:
recArea = 0
Function Main() returns nothing
float userHeight
float userWidth
userHeight...
Write a program **(IN C)** that displays all the phone numbers in a file that match the area code that the user is searching for. The program prompts the user to enter the phone number and the name of a file. The program writes the matching phone numbers to the output file. For example, Enter the file name: phone_numbers.txt Enter the area code: 813 Output: encoded words are written to file: 813_phone_numbers.txt The program reads the content of the file...
5.9 LAB: Miles to track lapsOne lap around a standard high-school running track is exactly 0.25 miles. Write a program that takes a number of miles as input, and outputs the number of laps.Ex: If the input is 1.5, the output is6Ex: If the input is 2.2, the output is8.8Your program must define and call a function:double MilesToLaps(double userMiles)
****Coral Please**** Given a sorted list of integers, output the middle integer. Assume the number of integers is always odd. Ex: If the input is 2 3 4 8 11 -1 (a negative indicates end), the output is: 4 The maximum number of inputs for any test case should not exceed 9. If exceeded, output "Too many inputs". Hint: Use an array of size 9. First read the data into an array. Then, based on the number of items, find...
C++
please use only easy code and stdio.h because im just a
beginner
Description Write the program that can manage the information of students as follows: S 1. This program has two phase; the input phase and the output phase. 2. In an input phase, a teacher inputs the information (name, score, and department) for each student. The total number of students who can be inputted should be defined as a NUM OF_STUDENT constant value. In this example, the value...
LOGIC TUI Computer Program CHALLENGE ACTIVITY 2.9.2: Code basics See Coral: Code basics for solution help. Jump to level 1 Write code that outputs: A3 G7 TOUS: Home 3.6. Variables/Assignments: Driving costs My library > PRG 211: Algorithms & Logic for Computer Programming home > 6: Variables/Assignments: Driving costs zyBooks catalog He Start Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles,...