قطة تبي مساعدة فالجافا


(system) #1

أبي حل في برنامج الدكتور جافا او اي برنامج اهم شي الحل احبابي
مطلوب ضروي


1-(Converting feet into meters) Write a program that reads a number in feet, converts it to meters, and displays the result. One foot is 0.305 meters.
===============================================================
2-(Using the &&, || and ^ operators) Write a program that prompts the user to enter an integer and determines whether it is divisible by 5 and 6, whether it is divisible by 5 or 6, and whether it is divisible by 5 or 6, but not both. For example, if your input is 10, the output should be
Is 10 divisible by 5 and 6? false
Is 10 divisible by 5 or 6? true
Is 10 divisible by 5 or 6, but not both? true
===============================================================
من هذا السوال اختار شكلين بس
3-(Printing four patterns using loops) Use nested loops that print the following patterns in four separate programs:
Pattern I Pattern II Pattern III Pattern IV
1 1 2 3 4 5 6 1 1 2 3 4 5 6
1 2 1 2 3 4 5 2 1 1 2 3 4 5
1 2 3 1 2 3 4 3 2 1 1 2 3 4
1 2 3 4 1 2 3 4 3 2 1 1 2 3
1 2 3 4 5 1 2 5 4 3 2 1 1 2
1 2 3 4 5 6 1 6 5 4 3 2 1 1
===============================================================
4-(Finding numbers divisible by 5 and 6) Write a program that displays all the numbers from 100 to 1000, ten per line, that are divisible by 5 and 6.
===============================================================
5-(Analyzing input) Write a program that reads ten numbers, computes their average, and finds out how many numbers are above the average.


#2

لا نقدم هنا حلول ولكن نساعد الاعضاء فى حل المشاكل التى تواجههم


(عبد العزيز غالب) #3

مع الماده كما وردت