Search:

Type: Posts; User: Suntani

Search: Search took 0.01 seconds.

  1. Thread: Prime Factor

    by Suntani
    Replies
    3
    Views
    1,744

    And so if you are looking for prime numbers...

    And so if you are looking for prime numbers between the two numbers, what your complaint about 2 * 3 = 6 have to do anything with the question? Why is the title of your question "prime factor"...
  2. Thread: Prime Factor

    by Suntani
    Replies
    3
    Views
    1,744

    Prime Factor

    #include <stdio.h>

    int main(){
    int i, j, num, num1, isPrime;

    scanf("%d %d", &num, &num1);

    for(i = 2; i <= (num % num1); i++){
    if((num % num1) % i==0){
    isPrime = 1;
  3. Thread: Prime Factor

    by Suntani
    Replies
    2
    Views
    1,431

    And So if you are looking for prime numbers...

    And So if you are looking for prime numbers between the two numbers, what your complaint about 2 * 3 = 6 have to do anything with the question? Why is the title of your question "prime factor"...
  4. Thread: Prime Factor

    by Suntani
    Replies
    2
    Views
    1,431

    Enable GingerCannot connect to Ginger Check your...

    Enable GingerCannot connect to Ginger Check your internet connection
    or reload the browserDisable in this text fieldEditEdit in GingerEdit in Ginger×
  5. Thread: Prime Factor

    by Suntani
    Replies
    2
    Views
    1,431

    Prime Factor

    #include <math.h>
    #include <stdio.h>
    int main(){ #include <stdio.h>
    int main(){
    int i, j, num, num1, isPrime;

    scanf("%d %d", &num, &num1);

    for(i = 2; i <= (num % num1); i++){
    if((num %...
  6. Replies
    6
    Views
    5,022

    Diamond input in c

    How to input Diamond like this

    input : 5

    output :
    16134
Results 1 to 6 of 6