Something went wrong. Try again.
My course files for the Online Computer Science degree
Something went wrong. Try again.
1234567891011// get_float and printf with %f
#include <cs50.h>#include <stdio.h>
int main(void){ float price = get_float("What's the price?\n$"); printf("Your total is $%.2f.\n", price * 1.0625);}