Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 2
- Downvoting Members
- 3
0 Endorsements
Ranked #37.0K
2 Posted Topics
this is a program to enter the elements of a square matrix and find the smallest element from each row and subtract the minimum value from all the values in the respective rows.........take the input as the following values 999 54 48 92 24 54 999 32 61 35 48 … | |
i am having problem in executing the following program.........when i execute it,it's getting hanged....pls gimme a gud solution [CODE]#include<stdio.h> main() { int n,x=0,y=1,z; printf("\nEnter a number of your choice:"); scanf("%d",&n); z=n; do { x=n%8; x=x+x*y; y=y*10; z=z/8; }while(z<8); printf("\nThe octal equivalent of the number entered is %d",x); }[/CODE] |
The End.