# URI Online Judge Solution 1008 Salary – Solution in C, C++, Java, Python and C#

### URI Online Judge Solution 1008 Salary – Solution in C, C++, Java, Python and C#

URI Online Judge Solution 1008 | Beginner
URI Problem Link – URI 1008 Problem Solution – https://www.urionlinejudge.com.br/judge/en/problems/view/1008

Problem Name: 1008 Salary
Problem Number : URI – 1008 Salary solution
Online Judge : URI Online Judge Solution
Category: Beginner
Solution Language : C,C plus plus, java, python, c#(c sharp)

### URI Solution 1008 Salary Code in C:

`# include <stdio.h>int main(){  int NUMBER,hours; float amount,SALARY; scanf("%d %d %f", &NUMBER, &hours, &amount); SALARY = hours * amount; printf("NUMBER = %dn",NUMBER); printf("SALARY = U\$ %0.2fn", SALARY);//SALARY = U\$ 4100.00  return 0;}`

### URI Solution 1008 Salary Code / URI 1002 solution in CPP:

`#include <cstdio>int main(){ int a; int b; float c; scanf("%d", &a); scanf("%d", &b); scanf("%f", &c); printf("NUMBER = %dn", a); printf("SALARY = U\$ %.2fn", b * c); return 0;}`

### URI Solution 1008 Salary Code / URI 1008 Salary solution in Java: (Not tested)

`import java.util.Scanner;public class Main {    public static void main(String[] args){      int NUMBER,hours;      float amount,SALARY;      Scanner sc = new Scanner(System.in);            NUMBER = sc.nextInt();      hours = sc.nextInt();      amount = sc.nextFloat();      SALARY = hours * amount;      System.out.printf("NUMBER = %dn",NUMBER);      System.out.printf("SALARY = U\$ %0.2fn", SALARY);//SALARY = U\$ 4100.00    }}`

### URI Solution 1008 Salary Code / URI 1008 Salary solution in  Python:

`numfunc = int(input())hrtrab = int(input())valorhr = float(input())salario = float(hrtrab * valorhr)print("NUMBER = %d" %numfunc)print("SALARY = U\$ %0.2f" %salario)`

### URI Solution 1008 Salary Code / URI 1008 Salary solution in  C# (C Sharp):

Demonstration:

Just implement this in coding. Since having any problem just put a comment below. Thanks

Tags: URI Online Judge Solution, URI OJ Solution list, URI Problems Solution, URI solver, URI all problem solution list, URI salary code in C, URI 1008 salary code in C++, URI Area of a circle solution in C, URI solution, URI 1008 salary solution in C,URI 1008 salary solution in C++-CPP,URI 1008 salary solution in C# (C sharp),URI 1008 salary solution in Java,URI 1008 salary solution in Python,

#### By Maniruzzaman Akash

Maniruzzaman Akash is a freelance web developer with most popular Laravel PHP frameork and Vue JS