Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62475745
main.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 13, 11:31
Size
477 B
Mime Type
text/x-c
Expires
Wed, May 15, 11:31 (2 d)
Engine
blob
Format
Raw Data
Handle
17651293
Attached To
R9484 sp4e-homework-lars-bertil
main.cc
View Options
/* MAIN FILE */
// Include Libraries
#include "LibSeries.hh"
#include <iostream>
#include <cmath>
#include <bits/stdc++.h>
using
namespace
std
;
// Main Block
int
main
(
int
argc
,
char
*
argv
[])
{
double
MyResult
;
// Create an instance obj1 of the class ComputeArithmetic
ComputeArithmetic
obj1
;
// Call the method associate to this class
MyResult
=
obj1
.
compute
(
4
);
// Print Result
std
::
cout
<<
"The result is: "
<<
MyResult
<<
endl
;
return
0
;
}
Event Timeline
Log In to Comment