ibm-developer-skills-network / vftvk-simple-interest-calculator Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
#include<stdio.h>
int main()
{
char op;//op is operator
float first, second;
printf("Enter your operator(+,-,/,*)=\n");
scanf("%c",&op);
printf("________________________________________\n");
printf(" |\n");
printf("Enter first number=");
scanf("%f",&first);
printf(" |\n");
printf("Enter second number=");
scanf("%f",&second);
printf(" |\n");
printf("________________________________________\n");
switch (op){
case '+':
{
printf("the addition is= |%f", first+second);
break;
}
case '-':
{
printf("the substraction is=%f", first-second);
break;
}
case '*':
{
printf("the multiplication is=%f", first*second);
break;
}
case '/':
{
printf("the division is=%f", first/second);
break;
}
default:
{
printf("invalid operation");
}
}
}
Readme file of a repository is the first impression of the repository, hence, it is very valuable.
The repository will have following features:
Hello! I keep getting the following message when running git status
:
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
On my first attempt. everything went fine until it came time to run the git push command. I ended up deleting my original forked repository and creating a new one, but ever since I did that, I've been getting the "nothing to commit, working tree clean" message, after making updates to several files in the project. I have since forked and deleted the repo numerous times, and now I am wondering if I maybe forked and deleted the repo too many times? I even tried creating a second github account to start over from scratch but still I am having the same problem, even on the new account.
This is what I've been doing:
git clone https://github.com/dvc1231978a/vftvk-Simple-Interest-Calculator.git
I then go to Github Pages for this repo and select the master branch as the source. I then make changes to index.html, style.css, and script.js files. In the terminal, I then run the following:
cd vftvk-Simple-Interest-Calculator
git status
It is at this point where I get frustrated. The changes to files that I made go unacknowledged. Again, on my first try everything was moving along smoothly, until I got to git push.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.