- 1
Pls someone should help me with the code that will print multiplication table using switch function In C programming lang.
Using switch function from 1 to 12
6 RĂ©ponses
+ 5
Please show us your attempt.
+ 4
Ibrahim Abdulrashid You see, if you show an attempt where you tried and failed as HonFu said, then people will know that you made an attempt and can then explain to you what you did wrong and you can learn from that.
If someone just posts the answer for you, then you will just copy that answer and not really understand it in the end which will only hinder you in the long run.
We have to be careful that we are not just doing people's homework for them đ.
+ 3
No, no, you got me wrong.
Please show us an attempt where you actually try to solve the problem your teacher gave you yourself, using switch!
Because for all we know, the task could have been: 'Please convert the loop on this paper into a switch.'
+ 3
Show us your failed attempt.
0
#include <stdio.h>
Main()
{
Int i,j;
For(i=1;i<=12;i++);
{
For(j=1;j<=12;j++);
{
Printf("%dx%d=%d\n", i,j, i*j);
}
Printf("\n");
}
Return 0;
}
So this is my trial. And its working pls let me know it using switch function
0
I tried but fail. Its an assignment