Question: Write a program that reads the month and the day from the user and prints whether or not someone bom on that date is under
Write a program that reads the month and the day from the user and prints whether or not someone bom on that date is under the Aries astrological sign or not. Anyone born between and including March 21 and April 19 is Aries. You can assume that the month and day are given as integer numbers (e.g. do not worry about the user entering March) This program does NOT require a loop. Hint: write the condition for an Aries date in March Write the condition for April. Put these two together. Complete the hw3_greeting.c program provided. You need to only write code in the definition for run10). Each execution of run1() should read 2 strings and an integer for the relation and then print a greeting based on the relation. Please see the sample run below for the behavior Please review the lecture when we covered strings. Their declaration and reading them with scanf is a bit different from int and float. Write a program that reads the month and the day from the user and prints whether or not someone bom on that date is under the Aries astrological sign or not. Anyone born between and including March 21 and April 19 is Aries. You can assume that the month and day are given as integer numbers (e.g. do not worry about the user entering March) This program does NOT require a loop. Hint: write the condition for an Aries date in March Write the condition for April. Put these two together. Complete the hw3_greeting.c program provided. You need to only write code in the definition for run10). Each execution of run1() should read 2 strings and an integer for the relation and then print a greeting based on the relation. Please see the sample run below for the behavior Please review the lecture when we covered strings. Their declaration and reading them with scanf is a bit different from int and float
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
