Computer Science, asked by aarushdubey, 26 days ago

the wrong answer will get reported
take these 10 points
Ques 1: Write a program asking the user his name and then printing his name with a message.
Ques 2: Write a program to find the difference of two numbers.
Ques 3: Raman had 10 hens. Three of the hens produced one chick each. Display on the screen how many hens and chicks Raman has, using REM, LET and PRINT.

Answers

Answered by Anonymous
3

Answer:

  1. In Python, we can get user input like this: name = input("Enter your name: ") print("Hello", name + "!")
  2. How to Find the Difference between Two Numbers. To find the difference between two numbers, subtract the number with the smallest value from the number with the largest value. The product of this sum is the difference between the two numbers. Therefore the difference between 45 and 100 is 55.
  3. And you are about to become one, congrats. Chickens, as with most birds, possess the emotional and intelligence level of a 2 year old human child. Chickens feel emotions on that level including jealousy, fear, affection and sadness, among others.
Similar questions