Create a class Int based on Q 1 . Overload four integer arithmetic operators (+, -, *, and /) so that they operate on objects of type Int. If the result of any such arithmetic operation exceeds the normal range of ints
Create a program to generate student attendance record in which teacher mark absent or present of each student and student have capability to see their attendance record of their each subjects.
Note: Your work must be done on console application.
TASK # 01: Write an efficient program that, given a color board (provided below), user has to fill up the color board with red ‘r’, green ‘g’ or blue ‘b’. you have to make sure that no color is repeated on connected positions. Ask user for the positions one by one for color filling. If the color filling is appropriate then increase the score, if it conflicts then decrease the score.
Your program should ask the user to enter his or her name before starting the game and show the score at the end. There should be a list of top 10 highest scorer and should be updated after every game. You have to:
· Show the top scorer list on start of the game
· Show the score and remaining tries after each try
· Show the color board, total score and the rank of the user at the end of the game
In the following color board, a ‘0’ indicates not included position, an empty position indicates the place you have to fill colors on.
Write an efficient program that, given a color board (provided below), user has to fill up the color board with red ‘r’, green ‘g’ or blue ‘b’. you have to make sure that no color is repeated on connected positions. Ask user for the positions one by one for color filling. If the color filling is appropriate then increase the score, if it conflicts then decrease the score.
Your program should ask the user to enter his or her name before starting the game and show the score at the end. There should be a list of top 10 highest scorer and should be updated after every game. You have to:
· Show the top scorer list on start of the game
· Show the score and remaining tries after each try
· Show the color board, total score and the rank of the user at the end of the game
In the following color board, a ‘0’ indicates not included position, an empty position indicates the place you have to fill colors on.
Write an efficient program that, given a color board (provided below), user has to fill up the color board with red ‘r’, green ‘g’ or blue ‘b’. you have to make sure that no color is repeated on connected positions. Ask user for the positions one by one for color filling. If the color filling is appropriate then increase the score, if it conflicts then decrease the score.
Your program should ask the user to enter his or her name before starting the game and show the score at the end. There should be a list of top 10 highest scorer and should be updated after every game. You have to:
In the following color board, a ‘0’ indicates not included position, an empty position indicates the place you have to fill colors on.