Trapezium Order
you are given an integer N . print N rows starting from 1 in the trapexium order as shown in the output of the below examples .
Input
the input contains an integer N
OUTPUT
the output should have N lines
each of the N lines should have space -seperated integers as per the trapezium order
SAMPLE INPUT 1
4
SAMPLE OUTPUT 1
1 2 3 4 17 18 19 20
5 6 7 14 15 16
8 9 12 13
10 11
A campus wireless installation project costs GH¢ 36,000 and is expected to generate cash inflows of 11,200 annually for five years. Calculate the IRR.
Your company has been presented with a new proposal to develop a new school management system. The cost of the project development is $500,000. The probability of successful development is projected to be 70%. If the development is unsuccessful, the project will be terminated. If it is successful, the developer must then decide whether to begin developing a completely new school management system or modify an existing school management system. If the demand for the new school management system is high, the incremental revenue for the school management system is $1,200,000, and the incremental revenue for the modified school management system is $850,000. If the demand is low, the incremental revenue for the new school management system is $700,000, and the incremental revenue for the modified school management system is $720,000.
What will the value of the result variable be after the code segment below has been run.
bool result ;
int number3 = 11, number5 = 21, number9 = 32;
result = number3 <= number5 && number3 == number9 ;
Write a c code to perform binary search. If the element is present print its next
nearest prime number. If the element is not present print -1.
EXAMPLE:
Input:
10 20 30 40 50 60 70 80 90 100
Search element-50
Output: 53 (50 is present so print 53(next nearest prime number))
Supply of laptops to a customer and maintenance agreement of three years costs GH¢ 16,000. The annual cash flows are: 8,000, 7,000 and 6,000. If , what is the IRR ().
You are the IT Project Manager of a company and there are two projects being considered for selection. Project-I: Developing a website is being considered against Project-II: Developing a Library software. The initial project costs and other details are given below:
Project-I: , , CF: 5,000, 10,000, 10,000, 3,000, 2,000, Salvage Value=1,000,
Project-II: , , CF: 20,000, 10,000, 5,000, 3,000, 2,000, Salvage Value=2,000,
Using the NPV, which project should be selected and why?
Create a doubly linked list to store the name and score of 10 players of a match. Perform the following operations on the list
a. Insert the Player information (Name and Score) in the decreasing order of the score to the DLL.
b. To print the Name and Score of the player with the highest score.
Suppose there is class of 30 students who have attendance between 40-
100%. The university has decided to give the bonus attendance between
for those students who have the attendance between 70-74% to make it
75%. Identify the students those have attendance after adding the bonus
attendance. Suppose students have its Roll_no & attendance. Add the
bonus attendance to the obtained final attendance of student through
array. Use functions to solve this tasks.
Input Format
The input should contain a roll_no, and attendance of 25 students.
Output Format
For each test case, display the roll_no and increased attendance of those
students only who lies between the obtained attendance of 70-74%.
Create a java application to print numbers from 100 to 80 using
Runnable Interface with the sleep count of 1000.