Skip to content

Instantly share code, notes, and snippets.

View dbc2201's full-sized avatar
💻
I may be slow to respond.

Divyansh Bhardwaj dbc2201

💻
I may be slow to respond.
View GitHub Profile
#include<stdio.h>
int main(void){
float principle = 0.0f;
float time = 0.0f;
float rate = 0.0f;
float si = 0.0f;
printf("please enter the principle amount in :\n");
scanf("%f", &principle);
printf("please enter the time duration in years ex = 4 / 5.5 etc:\n");
scanf("%f", &time);
@adi0603
adi0603 / uberhigheringchallenge.c
Last active June 21, 2019 20:06
Week 3 Code - Uber
//
// Created By Aditya Pandey BCA
//
#include <stdio.h>
void displayArray(int ar[],int size); //declaring array printing function
int main(void) {
int size = 5; //giving size of array
int old[size],new[size],j,i;
printf("Enter numbers in array\n");
#include <stdio.h>
int main(void)
{
int number = 0;
int digit = 0;
int sum = 0;
printf("Enter the five digit number : ");
scanf("%d", &number);
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 18, 2025 06:21
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites