- 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

13th Apr 2019, 9:47 PM
Ibrahim Abdulrashid
Ibrahim Abdulrashid - avatar
6 Respuestas
+ 5
Please show us your attempt.
13th Apr 2019, 11:04 PM
HonFu
HonFu - avatar
+ 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 😉.
14th Apr 2019, 2:17 AM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar
+ 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.'
13th Apr 2019, 11:43 PM
HonFu
HonFu - avatar
+ 3
Show us your failed attempt.
13th Apr 2019, 11:51 PM
HonFu
HonFu - avatar
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
13th Apr 2019, 11:22 PM
Ibrahim Abdulrashid
Ibrahim Abdulrashid - avatar
0
I tried but fail. Its an assignment
13th Apr 2019, 11:50 PM
Ibrahim Abdulrashid
Ibrahim Abdulrashid - avatar