anmolagha


{ City } karachi
< Country > pakistan
* Profession * student
User No # 111816
Total Questions Posted # 5
Total Answers Posted # 0

Total Answers Posted for My Questions # 5
Total Views for My Questions # 11371

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { anmolagha }
Questions Answers Category Views Company eMail

#include int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..

3 C 3755

int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?

2 C 2227

7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

C 2212

Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

C 1459

4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

TCS,

C 1718




Answers / { anmolagha }