Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Liam mallka

  • Content Count

  • Joined

  • Last visited


This user doesn't have any awards

About Liam mallka

  • Title

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. < #include <stdio.h> #include <math.h> void math(int a, int b); int main() { int a, b; printf("Enter 2 numbers: "); scanf("%d %d", &a, &b); math(a, b); return 0; } void math(int a,int b) { int i = 0; for (i = a; i >= b; i--) { if (i % b == 0) { printf("i = %d b = %d\n", i, b); printf("%d \n", i); } } }>
  2. idk how to do the first max and second max like the output says
  3. Liam mallka


    hey I need help with my code I need to get that output and I have no idea how to do the first max and second max so far I came up with this
  4. I just made this code and im having hard time with the flag please help me.
  5. I thought that the answer here is always because -8 and 7 arent 0 but its actually false, any ideas why?
  6. I know how to scan ab integer but im not sure how to check but I think that it goes like that "if (x < 0)
  7. no documentation in my question I only got this: Write program receiving an integer and prints the absolute value (absolute value). Do not use the abs command except for conditions only! Please note that in this question only one condition is sufficient.
  8. Im scanning the number from the client so I cant do that.
  9. Hey there, I want to print absolute value in c but I cannot use abs only conditions like if, else, else if, please help me out with that.
  10. What the output of the next plan and explain why this is the output.
  11. The card drive in black doesn't work and I'm running out of storage any idea what's wrong and how to fix this?