Create a windows form app for percentage calculation:
Form 1:
1.enter course name
2.mention each course marks
3.enter obtained marks for each course
4.add all course marks
5.apply formula for percentage
Form 2:
1.show all course names
2.show each course individual marks
3.show percentage & grade
4.show a greeting message according to grade [hint: if grade A message would be “1st POSITION”]
Write a following program and observe result:void main (void){char ch='A',str[]="My SMIU";int num= 2;float fnum= 12.47;clrscr();printf("character= %c\n",ch);printf("string= %s\n", str);printf("integer= %d\n", num);
Create a console app for Food ordering mechanism:
Features must be implemented:
1.Customer sign up/sign in
2.Show food menu to customer
3.Customer can select more than 1 food item at a time
4.Store the order in a collection like array
5.Calculate bill and display at the end.
Write a program which take input Name, Age, Height, Gender and print them by using Escape Sequences and Format Specifiers.
Modify the Point class as follows:
In the main() function, demonstrate the call to the static LengthPoints() method.Modify the Point class as follows:
In the main() function, demonstrate the call to the static LengthPoints() method.
How do you convert between the different python data types? What data quality issues arise when converting data types?
Given an MxN matrix filled with
The first line of input will be containing two space-separated integers, denoting M and N.
The next M lines will contain N space-separated integers, denoting the elements of the matrix.
The output should be a single line containing the area of the maximum square.
input:4 4 output :[13, 9, 5, 1, 2, 3, 4, 8, 12, 16, 15, 14]
[[13, 9, 5, 1], [14, 6, 7, 2], [15, 10, 11, 3], [16, 12, 8, 4]]
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
3
the ouput should be like this:
13 9 5 1
14 7 11 2
15 6 10 3
16 12 8 4
can anyone give the code correct?
(The Sieve of Eratosthenes) A prime integer is any integer that is evenly divisible only by itself and
1. The Sieve of Eratosthenes is a method of finding prime numbers. For example, 2, 3, 5 and 7 are
prime, but 4, 6, 8 and 9 are not.
Write a function that determines whether a number is prime.
Use this function in a program that determines and prints all the prime numbers entered
by the user.
Use an array to store all the values entered by the user.
Input: 6(number of students) {4 , 9 , 5 , 3 , 2 , 10}
Output: {0 , 0 , 1 , 3 , 4 , 0}