answersLogoWhite

0


Best Answer

the age of 2 friends

determine if the age greater than 18 if not write the output statment you can vote

if younger than 18 print you should be in school

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Pascal program determine the age of 2 friends?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Write a program which takes the gender and salary the age from user the program should calculate and display the following information you If gender is male and age is greater equals 18 then the tax?

Write a program which takes the gender and salary ,the age from user. the program should calculate and display the following information. i. If gender is male and age is greater >=18,then the tax =5%of the salary. ii. If gender is female and age is >=18,then tax=3%of salary. The program should display the output as follows: Gender = Age = Tax = Salary before tax = Salary after tax =


Write a program that ask for a user name and age and must print out the information?

#include#includevoid main(){int age;clrscr();printf("Enter the Age:");scanf("%d",&age);printf("Your age is %d",age);getch();}


C program to accept name age and print eligible for vote or not?

#include<stdio.h> #include<conio.h> main() { int age; printf(" enter the age "); scanf("%d",&age); if(age>18) { printf(" citizen can give vote "); } else { printf(" citizen cannot give vote"); } return 0; }


What are entitlement programs?

An entitlement program is a system set up by a government that pays or gives certain types of benefits to people who meet certain qualifications set up in the program. Examples are Social Security, Medicare, Medicaid, Section 8 Housing, Methadone Maintenance, etc. As long a person meets the qualifications set by the program, such as low to moderate household income levels or minimum age requirements, that person is entitled by law to the benefits provided by that program.


Sample c program printing output name address and age?

#include <windows.h> #include <stdio.h> void printstuff(char *Name, char *Address,int Age) { printf("Hi my name is %s, I live at %s and I am %d years old.\n",Name,Address,Age); } void main() { printstuff("John","1 john street",29); }

Related questions

How old is Janet Pascal's husband?

Janet Pascal's husband is Barry Pascal, and his age is not publicly known.


When did Christine Pascal die?

Christine Pascal died on August 30, 1996 at the age of 42.


When did Jacqueline Pascal die?

Jacqueline Pascal died on October 4, 1661 at the age of 36.


How old was Jean-Claude Pascal at death?

Blaise Pascal died on August 19, 1662 at the age of 39.


How old was Christine Pascal at death?

Christine Pascal died on August 30, 1996 at the age of 42.


How old was Jacqueline Pascal at death?

Jacqueline Pascal died on October 4, 1661 at the age of 36.


How old was Blaise Pascal at death?

Blaise Pascal died on August 19, 1662 at the age of 39.


What is face aging software?

Age progression software is a program that is designed to look at a picture of a person and determine what that person will look like when they reach a certain age.


Did blaise pascal retirement?

Probably not. He died young, age 39.


How can you determine your dwarf bunny's age?

Take it to a Veterinarian. And they can determine the age.


How do you determine the age of a shell?

The thickness of the shell (lip) increases with the age. This is how you can determine the age of the conch.


How do you determine the age of a conch shell?

The thickness of the shell (lip) increases with the age. This is how you can determine the age of the conch.