求各路神仙帮帮我这个小新吧︽⊙_⊙︽

img

第三题


#include <stdio.h>
int main()
{
    char c;
    printf("输入一个小写字母:");
    scanf("%c",&c);
    printf("这个小写字母对应的大写字母为%c,对应的ASCII码值为%d",c-32,c-32);
    return 0;
}

第四题

#include <stdio.h>
#include <stdlib.h>

int main()
{
    float c,f;
    printf("请输入摄氏温度:");
    scanf("%f",&c);
    f=c*9/5+32;
    printf("对应的华氏温度是:%f\n",f);
    return 0;//返回;
}