Cognizant
Company
undefined
when you want to use
-printf() scanf()
-log() abs() pow()
-clrscr() getch() terminate()
and your program restrictions are such that you have to use only 1 header file
Is it Possible......if yes which header file will you use....
How you will do it?
Read Solution (Total 3)
-
- using user defined header file it can be done.
- 8 years agoHelpfull: Yes(0) No(2)
- Yes, it can be done. printf()
- 5 years agoHelpfull: Yes(0) No(2)
- It is stdio.h
- 3 Months agoHelpfull: Yes(0) No(0)
Cognizant Other Question
Alice,Bob,Chris,Dave,Eric,Fred,Laura used to work in a restaurant for 6 days from Tue-Sun and every one is worked for one day and at least 2 members work on a day, Mon is holiday
Restrictions:
1) Either Alice or Bob work on 1st day
2) Laura works only on 4th and 5th days
3) A 1day gap is left between Laura and Chris
4) Eric works Immediately after Bob
297. In an office, there are 2 teams- Mavericks with 10 members and Marauders with 15 members. 4 members of team Maverick and 6 members of team Marauders can finish a job in 10 days. 3 members of Maverick and 7 members of Marauders can finish the same job in 12 days. If both the teams work on the same job independently, which team will finish first and by how many days?
a. Mavericks, by 15 days
b. Mavericks, by 5 days
Page 66 of 69
c. Mavericks, by 20 days
d. Marauders, by 20 days