WAP to find sum of all five marks of student using array inside a class.
WAP to find smaller number among three int numbers using PRIVATE member function.
WAP in c++ to find any integer power of a integer number(both numbers are user i/p)[using class and object]
Write code to output the following:
My favorite quote is, "Money talks"
Write a code to find out the sum of the sequence 2 -4 6 -8 10 -12.... while the last value will be determined from input. Use a loop to solve the problem.
Write a python program that asks the user to input six numbers and then print the summation and average of odd numbers only.
Sample Input:
3
5
2
4
8
9
Sample Output: Summation is 17 and average is 5.666666666666667
Create a Registration Form by using the following instructions:
Step 1: Create a Registration Form using Java Swing
a. Import Necessary Packages
b. Create a Frame using JFrameclass
c. Set Background color of the JFrame
d. Create JLabelfor Heading Text
e. Create a JLabel and JTextField for the name.
f. Create a JLabel and JTextField for Father’s Name
g. Create JLabel and JRadioButton for Gender
h. Create JLabel and JComboBox for Date of Birth
i. Create a JLabel and JTextArea for the Address
j. Create JLabel and JTextField for the Phone
k. Create JLabel and JTextField for the Email
l. Create a JCheckBox for Accepting License Agreement
m. Creating a JButton to Submit the Value
n. Change Font Style and Size for all the Components
o. Add all Components to the Container
p. Create a JTextArea for Output
Step 2: Add ActionListener to the Button
Add ActionListener on the Submit Button
Step 3: Read the value on the Registration Form
Read and display the value on the Registration form
Write a code to print multiples of 3 or 7 from 1 to 100 using while loops.