Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

l/O Multiple Values


#include <stdio.h>
int main()
{
    int a;
    float b;
  
    printf("Enter integer and then a float: ");
  
    // Talking multiple inputs
    scanf("%d%f", %a, %b);
  
    printf("You entered %d and %f", a, b);
    return 0;
}
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #Multiple #Values
ADD COMMENT
Topic
Name
7+2 =