Computer Science, asked by anjalibandhu9669, 1 year ago

WAP to shift the entered number by three bits left and display the result.

Answers

Answered by siddhartharao77
0
 #include<stdio.h> 
int main()
 {
int x,y;
clrscr();
printf("Enter a number:-");
scanf("%d",&y);
 x=y << 3;
printf ("The result is %d",x);
return 1; 



Enter a number: 60
The result is :480
Similar questions