Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  loop.c
Language: C/C++
Code:
#include<stdio.h>
main() {
       char character; int number; 
       printf("Enter special character: ");
       scanf("%d", &character); getchar();
       printf("Enter a number: ");
       scanf("%d", &number); getchar();
       while(character = '*') {
                  printf("%c", character); getchar();
                  character = number;
                  }
                  getchar();
                  }
          
Comments: