Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
c++ x 8
Member Avatar for adityasingh95

can sum1 pls explain why there isn't any output??? #include <iostream.h> #include <conio.h> void main() { clrscr(); int a[50][50],r,c,ans=0; cout<<"Enter Size of Array:"; cin>>r; r=c; for (int i=0;i<r;i++) { for (int j=0;j<c;j++) { cin>>a[i][j]; } } getch(); clrscr(); for (i=0;i<r;i++) { for (int j=0;j<r;j++) { cout<<a[i][j]; } cout<<endl; } cout<<endl<<endl; …

Member Avatar for L7Sqr
0
236
Member Avatar for adityasingh95

i need to create a ball bounce program where the ball would be of a user defined radius, it would bounce inside a rectangle of user defined length and breadth and it would start by falling from the center of the box at a certain angle. the box would be …

Member Avatar for nannan001
0
91
Member Avatar for adityasingh95

Here's my code: #include<stdio.h> #include<conio.h> int main(void) { int a[100][100]; /* initializing matrices to '0' */ int b[100][100]; int c[100][100]; /*matrix-c for multiplication*/ /*r1,c1 are rows and coloumns for matrix-a.r2,c2 for matrix-b.*/ int r1,c1,r2,c2; int i,j,k; clrscr(); printf("enter the no of ROWS and COLOUMNS for MATRIX-A\n"); scanf("%d %d",&r1,&c1); printf("enter the …

Member Avatar for JasonHippy
0
4K
Member Avatar for adityasingh95

the question is: Wrtie a program to modify the elements of an array such that the elements that are multiples of 10 swap with the values present in the very next position. I wrote the following code: #include <iostream.h> #include <conio.h> #include <stdio.h> void main() { clrscr(); int a[20]; int …

Member Avatar for adityasingh95
0
204
Member Avatar for adityasingh95

i wrote this program as an answer to a question given in my book but the output always displays incorrectly #include <iostream.h> #include <conio.h> #include <string.h> #include <stdio.h> class Clothing { //private data members char Code[5]; char Type[20]; int Size; char Material[20]; float Price; public: //constructor Clothing() { strcpy(Code,"NOT ASSIGNED"); …

Member Avatar for rubberman
0
137