Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

hilfe bei widerstandsberechnung

Empfohlene Antworten

Veröffentlicht

hallo!

Ich muss eines kleines Programm schreiben die Aufgabenstellung hab ich angehängt.

könntet ihr mir bitte helfen bei mir kommt immer nur 0 raus. :D:D

MFG

tommy

exercise_at_home_Sa19122009.doc

Wie lautet dein Lösungsansatz?

Das habe ich bis jetzt geschrieben: :D:D

int main()

{

int R1=0, R2=0;

float erg=0.0;

printf("Berechnung des Gesamtwiderstandes zweier Parallelgeschaltenen Widerstände!\n\n");

printf("Geben sie den ersten Widerstandswert ein: \n");

scanf("%d", &R1);

printf("Geben sie den zweiten Widerstandswert ein: \n");

scanf("%d", &R2);

do

{

erg = ((1/R1)+(1/R2)/1);

printf("%f" ,erg);

}

while( 1/erg); //end do while

printf("Berechneter Widerstand betraegt %.1f!\n\n" , erg);

return 0;

}//end main

danke hab hinbekommen!! ;);););)

MFG

tommy

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.