Question: code 1 : Save as age.c Write a program that converts your age in years to days and displays both values. At this point, don

code 1:
Save as age.c
Write a program that converts your age in years to days and displays both values. At this
point, dont worry about fractional years and leap years. You should input the age in years
from the user using scanf().
Code 2:
Save as toes.c
Write a program that creates an integer variable called toes. Have the program set toes to 10.
Also have the program calculate what twice toes is, and what toes squared is. The program
should print all three values, identifying them.
Code 3
Save as one.c
In C, one function can call another. Write a program that calls a function named one_
three(). This function should display the word one on one line, call a second function named
two(), and then display the word three on one line. The function two() should display the
word two on one line. The main() function should display the phrase starting now: before
calling one_three() and display done! after calling it. Thus, the output should look like the
following:
starting now:
one
two
three
done!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!