Siri #include int main() { int a,b; scanf(“%d”,&a); printf(“result is %d”,a<<3); return 0; } Log in to Reply
Arpan #include using namespace std; int main() { int res=0; for(int i=1;i<=10;i++) { res=i<<3; cout<<res<<endl; } return 0; } Log in to Reply
Itika #include main() { int n; printf(“Enter the number to multiply: “); scanf(“%d”, &n); printf(“8 multiplied by %d is %d”, n, n<<3); } Log in to Reply
#include
int main()
{
int a,b;
scanf(“%d”,&a);
printf(“result is %d”,a<<3);
return 0;
}
please answer in C language
#include
using namespace std;
int main()
{
int res=0;
for(int i=1;i<=10;i++)
{
res=i<<3;
cout<<res<<endl;
}
return 0;
}
#include
main()
{
int n;
printf(“Enter the number to multiply: “);
scanf(“%d”, &n);
printf(“8 multiplied by %d is %d”, n, n<<3);
}