Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Design an application that extends JFrame and that displays a blue smiling face on the screen. Save


the file as Smile.java.

Write a Java GUI application that will keep track of student results at a local college. The application must contain the results that a student has obtained for a test, assignment and exam. Q.3.1 On the form create a list box that will allow the user to select the student ID populated from the text file. Also create a search button that when clicked will display the average, highest and lowest result according to the student number.Q.3.2 Create a sequential file (student.txt) that contains data for the following fields: The student ID number; The student test result; The student assignment result; The student exam result. Q.3.2 Load the data from the student.txt file and populate the list box with the student numbers. Q.3.3 Calculate the average result obtained by the student. Q.3.4 Determine the highest and lowest result that the student obtained from the three assessments.

Define a class called vehicle that will store two items of information about a vehicle: The fuel capacity and the fuel consumption in kilometers per litre and prototype of four functions a default constructor and a parameterized constructor that initializes the Taxi fuel capacity to 20 litres and Taxi consumption to 10 kpl , a destructor and a friend function that uses the values from the constructors to calculates the taxi range (the maximum distance it would travel if its fuel tank is full without refueling) NB. Show only the prototype of the function in the class


Write a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine line


Create a user-defined function that will accept a 3 x 3 matrix (2D Array), set it as a parameter. Say mad [3][3]; feel free to use your initials.

Function name should InitialsMatrix (ie. MadMatrix)

The function should store 9 values to the array; it only accept values 0 and 1.

It should be outputted in a table format

0 1 1

1 1 1

1 0 0

Display the sum of values if it is an even value

Use a double for loop to implement this

Screen Layout

Input 0's and 1's to the mad [3][3] matrix

mad[0][0]:0

mad[0][1]:1

mad[0][1]:1

mad[0][1]:1

mad[0][1]:1

mad[0][1]:1

mad[0][1]:1

mad[0][1]:0

mad[0][1]:0

Output Table Format

0 1 1

1 1 1

1 0 1

Sum is 6


mad[0][0]:0

mad[0][1]:0

mad[0][1]:1

mad[0][1]:1

mad[0][1]:1

mad[0][1]:1

mad[0][1]:1

mad[0][1]:0

mad[0][1]:0

Output Table Format

0 0 1

1 1 1

1 0 0

(Sum is not displayed because it is an odd value)




Print right half Diamond pattern using for loop in python


Write a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines.

Now add a function named clear_screen that uses a combination of the functions nine_lines, three_lines, and new_line (provided below) to print a total of twenty-five lines. The last line of your program should call first nine_lines and then the clear_screen function.

The function three_lines and new_line are defined below so that you can see nested function calls. Also, to make counting “blank” lines visually easier, the print command inside new_line will print a dot at the beginning of the line:

def new_line():

  print('.')

def three_lines():

  new_line()

  new_line()

  new_line()


Write HTML code to create a table in Web Technologies

Sample Run 1:

Enter 10 integers: 1 2 3 4 5 6 7 8 9 10

2 4 6 8 10

1 3 5 7 9

Sample Run 2:

Enter 10 grades: 78 79 80 81 82 83 67 66 65 90

The highest is 90.

The average is 77.10!

Sample Run 3:

Enter 10 integers: 1 2 3 4 5 6 7 8 9 10

Sum of even: 30

Sum of odd: 25


C++ code and sample runs


1. Write a program that accepts 10 integers saves them in an array, seperates the even. Integers from the odd ones by saving them in seperate arrays, and prints the even one on the first line followed by the odd ones on the second line.

Sample Run:

Enter 10 integers: 1 2 3 4 5 6 7 8 9 10

2 4 6 8 10

1 3 5 7 9


2. Write a program that accepts up to 10 grades (double) and determines the highest grade and their average.A

Sample Run

Enter 10 grades: 78 79 80 81 82 83 67 66 65 90

The highest is 90.

The average is 77.10!


3. Write a program that accepts 10 integers, saves them in an arrays, and prints the sums of even integers and odd integers

Sample Run:

Enter 10 integers: 1 2 3 4 5 6 7 8 9 10

Sum of even: 30

Sum of odd: 25


LATEST TUTORIALS
APPROVED BY CLIENTS