Skip to content

Instantly share code, notes, and snippets.

View ruhi1999's full-sized avatar

Ruhi ruhi1999

  • SF Bay Area
View GitHub Profile
@ruhi1999
ruhi1999 / mario.c
Last active August 29, 2015 14:06
right-aligns hashtag pyramid given height; does not accept over 23
#include <stdio.h>
#include <cs50.h>
int main(void)
{
int n,i,j,k;
do
{
printf("Height:");
n=GetInt();