wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Note Taker App

profile
Aarti Rathod
Jul 16, 2025
0 Likes
0 Discussions
0 Reads



(defvar *notes* '()

"Global list to store text notes.")


(defun add-note ()

"Add a new text note."

(format t "Enter your note: ")

(let ((note (read-line)))

(push note *notes*)

(format t "📝 Note added: ~A~%" note)))


(defun list-notes ()

"Display all saved notes."

(if *notes*

(progn

(format t "~%📋 Your Notes:~%")

(dolist (note (reverse *notes*))

(format t "• ~A~%" note)))

(format t "📭 No notes found.~%")))


(defun clear-notes ()

"Clear all saved notes."

(setf *notes* '())

(format t "🧹 All notes cleared.~%"))


(defun show-menu ()

"Displays the options menu."

(format t "~%========= NOTE TAKER =========~%")

(format t "1. Add Note~%")

(format t "2. View Notes~%")

(format t "3. Clear Notes~%")

(format t "4. Exit~%")

(format t "Choose an option (1-4): "))


(defun note-taker ()

"Main loop for the note taker app."

(loop

(show-menu)

(let ((choice (read)))

(case choice

(1 (add-note))

(2 (list-notes))

(3 (clear-notes))

(4 (progn (format t "👋 Exiting Note Taker. Goodbye!~%") (return)))

(t (format t "❌ Invalid option. Try again.~%"))))))



Comments ()


Sign in

Read Next

Optimization of operating system design

Blog banner

Multiprocessor and Multicore Organization

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner

Spyware

Blog banner

Deadlock and Starvation

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Which Smartphone Company Has the Largest Market Share in India?

Blog banner

Tableau

Blog banner

Self managing devices

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Virtual memory

Blog banner

Sessions In OS.

Blog banner

VIRTUAL MACHINES

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

MUTUAL EXCLUSION

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Life of a 2020-2021 student

Blog banner

Mumbaicha Dabbawalla

Blog banner

Multiprocessor and scheduling

Blog banner

What is process

Blog banner

SQL Injection

Blog banner

Difference Between Classification And Clustering

Blog banner

Topic: Sessions in Operating system

Blog banner

R Programming

Blog banner

What is M-commerce and how it's work

Blog banner

Memory input output management

Blog banner

Wiretapping

Blog banner

10 Signs your Computer has Virus

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Linux Threads:

Blog banner

Virtual memory

Blog banner

Virtual Machine

Blog banner

Data Mining

Blog banner

Jio .....A Revolution ?? ??

Blog banner

Virus

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Raid

Blog banner

Deadlock and starvation in operating system

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Types of OS

Blog banner