Pseudo code for 7,8,9,10 Ask the user to enter his name and print it 10 times. L
ID: 3843443 • Letter: P
Question
Pseudo code for 7,8,9,10 Ask the user to enter his name and print it 10 times. Let the user enters his birth year and the current year. Compute the user's age. Perform this task again if the user wants to. Calculate the tax value of a user's salary, in which the tax percentage from salary is 20% if his salary is $4000 or above, and 10% if his salary is between $1000 and less than $4000. Let a robot do primary steps of tango dance! Move two steps forward and then one step backward for 5 times. How many steps (in total) the robot has made? Report out that value. [this question will be graded plus 2 extra bonus]Explanation / Answer
#include <stdio.h>
int main() {
int count;
char name[30];
printf("Please enter your name: ");
scanf("%s",name);
for(count=1;count<=10;count++)
{
printf("My name is %s ",name);
}
}
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.