Skip to content

Instantly share code, notes, and snippets.

View Sahana220's full-sized avatar

Sahana P Sahana220

View GitHub Profile
#include <stdio.h>
int main() {
float m, a, F;
printf("Enter mass (m): ");
scanf("%f", &m);
printf("Enter acceleration (a): ");
scanf("%f", &a);
@Sahana220
Sahana220 / AREA
Last active November 26, 2025 10:34
#include<stdio.h>
int main(){
int n;
float length,breadth,area;
printf("Enter number of land plot:");
scanf("%d",&n);
{
printf("\nEnter length of plot %d:",length);
scanf("%f",&length);
printf("\nEnter breadth of plot %d:",breadth);
@Sahana220
Sahana220 / Helloworld.c
Created November 19, 2025 10:10
c program labaratory
// Online C compiler to run C program online
#include <stdio.h>
int main() {
// Write C code here
printf("Try programiz.pro");
return 0;
}