Search
 
SCRIPT & CODE EXAMPLE
 

CPP

uri online judge 3145 solution in c++

#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
    int a, b;
    cin >> a >> b;
    double x;
    x = b / (a + 2.0);
    cout << fixed << setprecision(2) << x << endl;
    
    return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: how to get mouse position on window sfm; 
Cpp :: Tech mahindra coding questions 
Cpp :: g++ -wall option meaning 
Cpp :: is there an algorithm to create a truly random password 
Cpp :: c++ how to generate a random number in a range 
Cpp :: what are specialized classes c++ 
Cpp :: stock a file in a vector cpp 
Cpp :: c++ execution time 
Cpp :: c++ save typeid 
Cpp :: replace character in a string c++ stack overflow 
Cpp :: exit() in c++ 
Cpp :: compile notepad++ c++ 
Cpp :: how to output to console c++ 
Cpp :: convert whole string to uppercase c++ 
Cpp :: cout hello world 
Cpp :: xmake set binary name 
Cpp :: c++ random number generator uniform distribution 
Cpp :: input a string in c++ 
Cpp :: c++ how to convert string to long long 
Cpp :: sum of stack c++ 
Cpp :: string count occurrences c++ 
Cpp :: format string cpp 
Cpp :: c++ competitive programming mst 
Cpp :: min vector c++ 
Cpp :: c++ loop through string 
Cpp :: C++ do...while Loop 
Cpp :: pbds in c++ 
Cpp :: Rick Astley - Never Gonna Give You Up 
Cpp :: c++ int main() 
Cpp :: how to get an element in a list c++ 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =