Thread: C Program that finds the multiplication of two numbers without using multiplication

  1. #1
    Registered User
    Join Date
    Jun 2018
    Posts
    1

    C Program that finds the multiplication of two numbers without using multiplication

    Today, the c program that finds the multiplication of two numbers without using the multiplication process. I will continue to share this kind of common C programming language among programming languages. I’d appreciate it if you’d let me know your comments after you use them.



    C Programming Codes;
    Code:
    //C Program that finds the multiplication of two numbers without using multiplication opensourceprojects.org #include #include int main() { // while(1) // sonsuz döngü int a,b,s,i; printf(“Lütfen 1.sayıyı giriniz : n”); scanf(“%d”,&a); printf(“Lütfen 2.sayıyı giriniz : n”); scanf(“%d”,&b); s= 0; for (i=1; i<=a; i++ ); s= s+b; printf(“%d * %d = %d”, a,b,s); getch(); // cant close the window }
    Last edited by Salem; 06-02-2018 at 03:09 AM. Reason: Spammy link-fest

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Well if you're just going to post link-riddled code that doesn't even compile or work, then forget it.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multiplication program
    By markymark in forum C Programming
    Replies: 6
    Last Post: 03-13-2015, 07:10 AM
  2. Polynomial Multiplication program
    By daggerhunt in forum C Programming
    Replies: 2
    Last Post: 11-02-2012, 07:57 AM
  3. Multiplication Table Program
    By jamesallen4u in forum C Programming
    Replies: 3
    Last Post: 10-17-2011, 07:48 AM
  4. multiplication program
    By wankel in forum C Programming
    Replies: 11
    Last Post: 06-13-2009, 12:33 PM
  5. Doing multiplication using numbers in arrays
    By neandrake in forum C++ Programming
    Replies: 17
    Last Post: 11-05-2004, 11:07 AM

Tags for this Thread