Answers for "l/O Multiple Values"

C
0

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;
}
Posted by: Guest on March-03-2022

Code answers related to "C"

Browse Popular Code Answers by Language