【Study Record】Exchange Calculator|Won is used as a dollar|printf|Find square area and surroundings|Example of c language

[No. 1] Let’s make an exchange calculator that converts won into dollars if you enter it at the exchange rate of 1330.4|It is a program that can be calculated in dollars if you receive input from the problem explanation won and distribute the value at the exchange rate. There are too many decimal points after dividing them, so let’s print up to three digits.(*Use hint double type)|Code creation#<stdio .h>Instimoto () { { double iWon, iWonToDollar;printf(“달러로 바꾸고 싶은 원화를 입력해주세요:”);scanf(“%lf”,&iWon);iWonToDollar = iWon/1330.4;printf(“%lf 원은%3lf 달러입니다.\n”iWon,iWonToDollar”(iWon、iWonToDollar);Return value 0;}If you don’t understand outputting as many digits as you want, go over the concept here again![2nd] Ask them to enter the length of the rectangle and calculate the area and perimeter[2nd] Ask them to enter the length of the rectangle and calculate the area and perimeter#<stdio> include #<dio>.h>h>int main () { { double dWidth, dHeight; double dArea, dPerimeter; printf(“가로와 세로의 길이를 순서대로 입력해주세요 :”);scanf (“%lf %lf %lf, &dWidth, &dHeight);if (dHeight>0 &&dWidth>0) {dArea = dWidth*dHe; dPerimeter= 2*(dWidth+dHe); printf(” 면적은.0.0.입니다.0。\nです”, dArea, dPerimeter)Click to be the . {printf(“”] and “Base” 수 없습니다.\nThis is returned to 0;}#Include <stdio>.h>int main () { double dWidth, dHeight; double dArea, dPerimeter; printf(“가로와 세로의 길이를 순서대로 입력해주세요 :”);scanf (“%lf %lf %lf, &dWidth, &dHeight);if (dHeight>0 &&dWidth>0) {dArea = dWidth*dHe; dPerimeter= 2*(dWidth+dHe); printf(” 면적은.0.0.입니다.0。\nです”, dArea, dPerimeter) click ;}else {printf(“길이가 음수일 “f( 수 없습니다.\nUS>”;}0;} Returns

error: Content is protected !!