Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Atividade3Ex4
- {
- public class ConversaoDeUnidadesDeVolume
- {
- public static float MetrosCubicoEmLitros(float qnt_metros)
- {
- float litros = qnt_metros * 1000;
- return litros;
- }
- public static float MetrosCubicosEmPesCubicos(float qnt_metros)
- {
- float pes_cubicos = qnt_metros * 35.315f;
- return pes_cubicos;
- }
- public static float MetrosCubicosEmCmCubico(float qnt_metros)
- {
- float cm_cubico = qnt_metros * 1000000f;
- return cm_cubico;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment