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 a program that will ask the user to give three numbers and then the program will determine which of the three numbers has the highest in terms of numerical value using termary operator





// maximum.cpp




// Author: Mr jake R. pomperada, BSCS, MAED- IT




// Date: august 23, 2018 Thursday 10:55 pm




// Location: Bacolod City, Negros occidental




// Website: http://www.jakerpompereda.com





Design a program that will ask the user to give three numbers and then the program will determine which of the three numbers has the highest in terms of numerical value using termary operator




// maximum.cpp



// Author: Mr jake R. pomperada, BSCS, MAED- IT



// Date: august 23, 2018 Thursday 10:55 pm



// Location: Bacolod City, Negros occidental



// Website: http://www.jakerpompereda.com




write a program to input number of days from the user and convert to it years weeks and days and display the result on the screen







// days.cpp





// Author: Mr jake R. pomperada, BSCS, MAED- IT





// Date: august 15, 2018 Wednesday





// Location: Bacolod City, Negros occidental





// Website: http://www.jakerpompereda.com

write a program to input number of days from the user and convert to it years weeks and days and display the result on the screen







// days.cpp





// Author: Mr jake R. pomperada, BSCS, MAED- IT





// Date: august 15, 2018 Wednesday





// Location: Bacolod City, Negros occidental





// Website: http://www.jakerpompereda.com

Create a project to model students with firstname, lastname, age, gender and student number. Create two constructors, one to be used as default and another to include all attributes. Add a class attribute to keep count of all registered students. Use the class attribute to generate student numbers with the following format 22201XYZ, where XYZ is the current count provided by the class attribute. Implement the respective getters and setters for each attribute. Now given a list of student information create the respective objects and print out their details see samples below, make sure the student class has a toString method.



Sample Run1



2



John Doe 29 M



Kelly Daniela 40 F



Output1:



Full names : John Doe



Age : 29



Gender : M



Student Number : 22201001





Full names : Kelly Daniela



Age : 40



Gender : F



Student Number : 22201002

Write a program to print the following,


Input

The first line of input contains a string S.

The second line of input contains a string T.


Sample Input1

abc

acb

Sample Output1

Yes


Sample Input2

aabb

bbaa

Sample Output2

No



write a program to generate a sequence and print the corresponding value of a key for the given string a key.


Input


A,AA,AB,AAA


OUTPUT


1,27,53,703




Unique Matrix

You are given a N*N matrix. write a program to check if the matrix is unique or not. A unique Matrix is a matrix if every row and column of the matrix contains all the integers from 1 to N


Input

The first line contains an integer N.

The next N lines contains N space separated values of the matrix.


Output:

The output contains a single line and should be True if the matrix is unique matrix and False otherwise.


Sample input:

4

1 2 3 4

2 3 4 1

3 4 1 2

4 1 2 3

Sample output:

True


Sample Input2

4

1 2 3 3

2 3 4 1

3 4 1 2

4 1 2 3

Sample Output

False


Given an dictionary with key as person name,value as salary.write a program to find person with minimum salary.print person name aloo with salary.



input:


{sairam:1000,jack:2000,


sa i r am:200,raina:2500}


Output:


sairam ,1200



Input:


{jack:100,roy:500,j ack:300}



Output


Jack , 400



Unique Matrix

You are given a N*N matrix. write a program to check if the matrix is unique or not. A unique Matrix is a matrix if every row and column of the matrix contains all the integers from 1 to N


Input

The first line contains an integer N.

The next N lines contains N space separated values of the matrix.


Output:

The output contains a single line and should be True if the matrix is unique matrix and False otherwise.


Sample input:

4

1 2 3 4

2 3 4 1

3 4 1 2

4 1 2 3

Sample output:

True


Sample Input2

4

1 2 3 3

2 3 4 1

3 4 1 2

4 1 2 3

Sample Output

False


LATEST TUTORIALS
APPROVED BY CLIENTS