Jump to content
منتدى البحرين اليوم

طالبتكم لا تردوني


Recommended Posts

السلام عليكم ..

 

ساعدوني

 

مب عارفه احل هالسؤال

wtite a program that uses while loops to peform the following:

a.prompt the user to input two integers:firstNum and secondNum.(First Num must be less than secondNum)

b. output the sum of all even numbers between first num and secondNum.

c. output the sum of all even numbers between First num and second num.

d. output the sum and therir quares.between first num and scond Num.

e. output the sum of the square of the odd numbers between first num and secondNum.

f.output all uppercase letters.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
الرد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...