by CodeChum Admin
Create a new file called Account.java and construct a class called Account, which models a simple bank account. It contains the following members:
More details here, important!
https://pastebin.com/j79JBVgp
1. Date
by CodeChum Admin
Create a new file called Date.java and construct a Date class that models a calendar date with day, month and year. It contains the following members:
more info here.
https://pastebin.com/cGAumGnt
Write a code in C language to Calculate average CGPA with grade and score
Write a program to print the following output
Input
The input is a single line string S.
Explanation
The input should be MATHEMATICS.
The output should be M A T H E I C S.
Sample Input1
MATHEMATICS
Sample output1
M A T H E I C S
Reverse of a number using recursion in python
Math Quiz
Write a program to print the following
Sample Input 1
1 3 4 5 6
5
3 5
Sample Output1
12
Write a program to take a String as input then display the position of a particular character given as input using indexOf() function of String class. Don't use charAt() function.
Enter a String
Elephants are the largest mammals
Enter character to find: e
Index Position: 0 2 12 16 22
Don't use ArrayList and Character class, use String class functions if necessary
Write a program to take a String as input then display the first and last letter of each word with a condition that if it is having one character then it will remain as it is using only indexOf() function.
For example:
Enter a String
ASia is A conTinEnT
Modified: Aa is A cT
Don't use array[] and split
Write an algorithm that displays an equivalent color once an input letter matches its first character.
For example b for Blue, r for Red, and so on. Here are the given criteria: (The letters as an input data and the color as output information).
Letters Color
‘B’ or ‘b’ Blue
‘R’ or ‘r’ Red
‘G’ or ‘g’ Green
‘Y’ or ‘y’ Yellow
Other letters “Unknown Color”
code for denominations 100, 50,10,1